package learn;


import java.io.BufferedInputStream;
import java.lang.reflect.Array;
import java.util.ArrayList;
import java.util.LinkedList;
import java.util.Scanner;

class Inoutput {
    public static void main(String[] args) {
        Inoutput inoutput = new Inoutput();
        inoutput.test2();

    }

    public void test2(){
        Integer a = 5;
        int i = a.intValue();


        System.out.println(a);
        System.out.println(i);
        System.out.println(Integer.valueOf(a));

    }

    public void test1() {
        Scanner sc = new Scanner(new BufferedInputStream(System.in));
        int N = sc.nextInt();
        for (int i = 0; i < N; i++) {
            String str = sc.next();
            String[] data = str.split("/");
            int year = Integer.parseInt(data[0]);
            int mouth = Integer.parseInt(data[1]);
            int day = Integer.parseInt(data[2]);
            System.out.print(year + "年" + mouth + "月" + day + "日  ");
            System.out.println("方法二：");
            String year2 = str.substring(0, 4);
            int i1 = Integer.parseInt(year2);
            System.out.println(i1);
        }
    }
}
